//
//  HMHomeGuessLikeCollectionCell.m
//  HowToDo
//
//  Created by 胡坤 on 2017/1/5.
//  Copyright © 2017年 KY. All rights reserved.
//

#import "HMHomeGuessLikeCollectionCell.h"
#import "HTDGuessLike.h"

@interface HMHomeGuessLikeCollectionCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconImgView;
@property (weak, nonatomic) IBOutlet UILabel *sourceNameLable;
@end

@implementation HMHomeGuessLikeCollectionCell

-(void)setGuessLike:(HTDGuessLike *)guessLike
{
    _guessLike = guessLike;
    [self.iconImgView sd_setImageWithURL:[NSURL URLWithString: guessLike.image_url]];
    self.sourceNameLable.text = guessLike.resource_name;
}
@end
